// export const rootUrl = "https://api.eleceasy.net/";  //正式服域名
// export const rootUrl = "https://textapi.eleceasy.net/"; // 测试服
// export const rootUrl = "http://www.yixiangdian.com/"; // 测试服
// export const rootUrl = "http://192.168.2.116:8109/"; // 本地
// export const Version = 'v20241204';

const base_url = import.meta.env.VITE_APP_BASE_URL
export const rootUrl = base_url.slice(-1) == '/' ? base_url : `${base_url}/`
export const Version = import.meta.env.VITE_APP_VERSION